<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<fmt:setBundle basename="hospital"/>
<body>
<h2><fmt:message key="docRegister.title"/></h2>
<hr size="2"/>
<fieldset>

<legend><b><fmt:message key="docRegister.title"/></b></legend>
<form method="post" action="docRegister.do">
     <table>
          <tr>
               <td><fmt:message key="register.name"/><td>
               <td><input type="text" size="30" name="name" ></td>
          </tr>
          <tr>

               <td><fmt:message key="register.login"/><td>
               <td><input type="text" size="30" name="username"></td>
          </tr>
          <tr>
               <td><fmt:message key="register.password"/><td>
               <td><input type="password" size="30" name="password" ></td>
          </tr>
          <tr>
               <td><fmt:message key="docRegister.speciality"/><td>
               <td><input type="text" size="30" name="speciality" ></td>
          </tr>
          <tr>
               <td><fmt:message key="docRegister.exp"/><td>
               <td><input type="text" size="30" name="exp" ></td>
           </tr>
     </table>
     <br/>
     <input type="submit" name="docRegister" value=<fmt:message key="register.reg"/>>
</form>
</fieldset>

</body>